package com.zim.ta_service.base.exception;

import lombok.EqualsAndHashCode;
import lombok.Getter;

/**
 * author: alabimofa <br>
 * date: 2021/10/9 17:51 <br>
 */
@EqualsAndHashCode(callSuper = true)
@Getter
public class AuthException extends RuntimeException {

    private final String errorMsg;

    public AuthException(String errorMsg) {
        super(errorMsg);
        this.errorMsg = errorMsg;
    }
}
